/**
 * Program   :   TUsers.java
 * Author    :   shadow guo
 * Create    :   2013-6-11 下午9:19:13
 *
 * Copyright 2008 by Tongfu Information Technology Co. Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Tongfu Information Technology Co. Ltd. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Tongfu Information Technology Co. Ltd.
 * 
 */
package com.tongfusoft.example.data;

import java.util.Date;

import com.tongfusoft.web.core.annotation.LogDesc;
import com.tongfusoft.web.core.data.User;

@LogDesc(expression="realName",value="用户")
public class TUsers extends User {
	private String userId;
	private String userName;
	private String realName;
	private String userPwd;
	private String userEmail;
	private String userMobile;
	private String userFax;
	private String status;
	private int userAge;
	private Date userBirthday;

	@Override
	public String getPkName() {
		return "userId";
	}

	@Override
	public String getTableName() {
		return "T_USERS";
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserMobile() {
		return userMobile;
	}

	public void setUserMobile(String userMobile) {
		this.userMobile = userMobile;
	}

	public String getUserFax() {
		return userFax;
	}

	public void setUserFax(String userFax) {
		this.userFax = userFax;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getUserAge() {
		return userAge;
	}

	public void setUserAge(int userAge) {
		this.userAge = userAge;
	}

	public Date getUserBirthday() {
		return userBirthday;
	}

	public void setUserBirthday(Date userBirthday) {
		this.userBirthday = userBirthday;
	}

	@Override
	public String getUserDisplayName() {
		return this.getRealName();
	}

	@Override
	public String getLoginName() {
		return this.getUserName();
	}

	@Override
	public String getUserPasswrod() {
		return this.getUserPwd();
	}

}